<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf8">
        <link href="<?php echo PUBLIC_URL ?>css/user/bootstrap.css" rel="stylesheet">
		<link href="<?php echo PUBLIC_URL ?>css/user/nbootstrap.min.css" rel="stylesheet" media="screen">
		<link href="<?php echo PUBLIC_URL ?>css/user/common.css" rel="stylesheet">
		<link href="<?php echo PUBLIC_URL ?>css/user/onfood.css" rel="stylesheet">
        <script src="<?php echo PUBLIC_URL  ?>js/jquery-1.8.3.js"></script>
        <script src="<?php echo PUBLIC_URL  ?>js/login.js"></script>
    </head>
    
    <body style="background:url(<?php echo PUBLIC_URL ?>images/ao/bg.jpg);text-align:center; ?>) repeat 0 0 ;">
        <div id="ajaxurl" style="display:none;"><?php echo $ajaxurl; ?></div>
		<!-------------------register------------------->
		<div style="z-index:1000">
			<div style="display:block;">
				<div class="modal-dialog">
					<div class="modal-content" style="background:#FFFFFF">
						<div class="modal-header shadow" style="background:url(/matchless/Public/home/images/header_bg.png) repeat 0 0 ;border-radius:12px;height:70px;">							
							<button class="close" type="button" data-dismiss="modal" aria-hidden="true" style="background:url(/matchless/Public/home/mages/plus.ico)"></button>
							<div class="modal-title" id="login-title">
								<p class="lead" style="color:#009900;">用户快速注册</p>
							</div>								
						</div>
						<div class="modal-body">
							<div class="row">
								<div class="col-sm-12 ">	
									<form role="form" id="subb" action="" method="post">
										<div class="form-group  register-input">
											<div class="row text-width">
												<label for="name" class="col-sm-3"><h4>昵称&nbsp;</h4></label>
												<input  type="text" class="form-control input-bg" name="username" placeholder="您的昵称"><img style="display:none" width="40" src="<?php echo PUBLIC_URL; ?>images/ao/ajax.png" /><p name="fo" style="display:none;">用户己存在</p>
											</div>
										</div>
										<div class="form-group register-input">
											<div class="row text-width">
												<label for="email" class="col-sm-3"><h4>邮箱&nbsp;</h4></label>
												<input  type="email" name="email" id="reg-email" class="form-control email input-bg" style="height:38px;background:url(/matchless/Public/home/images/input_bg.png) repeat" placeholder="您的邮箱地址"><img style="display:none" width="40" src="<?php echo PUBLIC_URL; ?>images/ao/ajax.png" /><p style="display:none;">用户己存在</p>
											</div>
										</div>
										<div class="form-group register-input">
											<div class="row text-width">
											<label for="pwd" class="col-sm-3"><h4>密码&nbsp;<br></h4></label>
											<input  type="password" name="userpwd" class="form-control" id="pwd" style="height:38px;background:url(/matchless/Public/home/images/input_bg.png) repeat" placeholder="您的密码(由数字，字母，和下划线组成)"><img style="display:none" width="40" src="<?php echo PUBLIC_URL; ?>images/ao/ajax.png" />
										</div>
										</div>
										<div class="form-group register-input">
											<div class="row text-width">
											<label for="re-pwd" class="col-sm-3"><h4>确认密码&nbsp;</h4></label>
											<input  type="password" class="form-control" name="uupwd" id="re-pwd" style="height:38px;background:url(/matchless/Public/home/images/input_bg.png) repeat" placeholder="重复输入您的密码"><img style="display:none" width="40" src="<?php echo PUBLIC_URL; ?>images/ao/ajax.png" />
                                            </div>
										</div>	


                                         <div class="form-group register-input">
											<div class="row text-width">
											<label for="re-pwd" class="col-sm-3"><h4>码证码&nbsp;</h4></label>
											<input type="text" name="code" class="form-control" name="ucode" id="re-pwd" style="height:38px;background:url(/matchless/Public/home/images/input_bg.png) repeat" placeholder="输入验证码"><input name="code2" type="hidden" value="<?php echo $_SESSION['code']; ?>">
                                            </div>
										</div>
                                        <div class="form-group register-input">
											<div class="row text-width" style="margin-left:-85px;">
												<label class="col-sm-3"></label>
												<?php echo $code;?>
                                                <font style="cursor:pointer;" onclick="window.location.reload();">看不清，点我</font>
											</div>										
										</div>
										<div class="form-group register-input">											
											<div class="row text-width">
											<label class="col-sm-3"></label>
											<button class="btn btn-primary form-control" type="submit" id="login-sub" style="height:45px;border:1px solid #47A447;border-radius:8px;padding:0;margin:0;width:300px;background-color:#47A447;">免费注册</button>
                                            <input type="hidden" name="foo" value="<?php echo $formAction; ?>">
											
											<!-- <script>
												$('#login-sub').click(function () {
												var btn = $(this)
												btn.button('loading')
												$.ajax(...).always(function () {
												btn.button('reset')
												});
												});
											</script> -->
											
											
										</div>										
										</div>
									</form>
								</div>
								<div class="col-sm-1 pink">									
								</div>
							</div>
						</div>
						
					</div>
				</div>
			</div>
		</div>
		<!-- -----------register end---------------- -->
	
    </body>
</html>